﻿using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ARS.Control.Custom.DataPaging.Widget
{
    [DefaultProperty("Text")]
    [ToolboxData("<{0}:TextBoxDp runat=server></{0}:TextBoxDp>")]
    public class TextBoxDp:TextBox
    {

        [Bindable(true)]
        [Category("Appearance")]
        [DefaultValue("")]
        [Localizable(true)]
        public string Where
        {
            get
            {
                String s = (String)ViewState["Where"];
                return ((s == null) ? String.Empty : s);
            }

            set
            {
                ViewState["Where"] = value;
            }
        }

    }
}
